package cn.iocoder.yudao.module.system.controller.admin.erp.operatelog.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - erp操作日志分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ErpOperateLogPageReqVO extends PageParam {

    @Schema(description = "操作人员id", example = "26905")
    private Long userId;

    @Schema(description = "模块名称")
    private String module;

    @Schema(description = "操作详情", example = "你猜")
    private String description;

    @Schema(description = "操作详情", example = "你猜")
    private String operateIp;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "操作人员", example = "26905")
    private String operate;

    @Schema(description = "开始时间")
    private LocalDate startTime;

    @Schema(description = "结束时间")
    private LocalDate endTime;
    @Schema(description = "操作人员id", example = "26905")
    private List<Long>userIds=new ArrayList<>();
}